package com.bestcem.xm.qdes.util;

import cn.hutool.core.date.DateUtil;
import lombok.experimental.UtilityClass;

import java.util.Date;

/**
 * 时间工具
 *
 * @author guitao.lu
 * @version V1.0
 * @date 2022/8/1
 */
@UtilityClass
public class QdesDateUtil {
    public String getBeginOfMonth() {
        return DateUtil.beginOfMonth(new Date()).toString();
    }

    public String getBeginOfWeek() {
        return DateUtil.beginOfWeek(new Date()).toString();
    }

    public String getBeginOfDay() {
        return DateUtil.beginOfDay(new Date()).toString();
    }
}
